﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// PB_Project
    /// </summary>
    [Table("PB_Project")]
    public partial class PB_Project
    {

        /// <summary>
        /// 主键ID
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 机构编号
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public String Name { get; set; }
        /// <summary>
        /// 简称
        /// </summary>
        public String Abbreviation { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; } 

        /// <summary>
        /// 创建人ID
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean Deleted { get; set; }
        /// <summary>
        /// 联系人ID
        /// </summary>
        public String ContactsId { get; set; }
        /// <summary>
        /// 省ID
        /// </summary>
        public String ProvinceId { get; set; }
        /// <summary>
        /// 市ID
        /// </summary>
        public String CityId { get; set; }
        /// <summary>
        /// 区ID
        /// </summary>
        public String AreaId { get; set; }
        /// <summary>
        /// 详情地址
        /// </summary>
        public String Address { get; set; }
        /// <summary>
        /// 项目图纸
        /// </summary>
        public String ProjectImg { get; set; }
   
        /// 业务类型
        /// </summary>
        public String Businesstype { get; set; }
        /// <summary>
        /// 购销单位
        /// </summary>
        public String Purchaseandsalesunit { get; set; }
        /// <summary>
        /// 合作单位
        /// </summary>
        public String Cooperativeunit { get; set; }
        /// <summary>
        /// 签订单位
        /// </summary>
        public String Signingunit { get; set; }

        /// <summary>
        /// 状态:0-默认状态；1-完成
        /// </summary>
        public int? State { get; set; }

        /// <summary>
        /// 是否巡检
        /// </summary>
        public Boolean? PatrolInspection { get; set; }
        /// <summary>
        ///完结日期
        /// </summary>
        public DateTime? ClosingDate { get; set; }
    }
}